package cn.Alibaba.user.service;

import cn.Alibaba.basic.util.JsonResult;
import cn.Alibaba.user.domain.Logininfo;
import cn.Alibaba.basic.service.IBaseService;
import cn.Alibaba.user.dto.BinderDto;
import cn.Alibaba.user.dto.LoginDto;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-07-26
 */
public interface ILogininfoService extends IBaseService<Logininfo> {

    Map<String, Object> getLoginin(LoginDto dto);

    JsonResult wechatLoginin(String code);


    JsonResult wechatBinder(BinderDto binderDto);

    void logout(String token);
}
